package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.request.PortraitAuthRequestDTO;
import com.niiwoo.civet.user.dto.request.AssetPortraitAuthRequestDTO;
import com.niiwoo.civet.user.dto.request.portraitAuthStatusResponseDTO;
import com.niiwoo.civet.user.dto.response.PortraitAuthResponseDTO;
import com.niiwoo.civet.user.dto.response.SearchFacePlusPortraitResponseDTO;

/**
 * 肖像认证DUBBO服务
 */
public interface PortraitAuthDubboService {

    /**
     * 肖像认证
     */
    PortraitAuthResponseDTO auth(PortraitAuthRequestDTO requestDTO);

    /**
     * r360肖像认证
     * @param requestDTO
     */
    PortraitAuthResponseDTO authAsset(AssetPortraitAuthRequestDTO requestDTO);

    /**
     * 获取肖像认证信息
     */
    portraitAuthStatusResponseDTO getStatusInfo(String userId);


    /**
     * 查询肖像认证信息
     * @param userId
     * @return
     */
    SearchFacePlusPortraitResponseDTO searchFacePlusPortraitResponse(String userId);

    int updateBestImg4R360(AssetPortraitAuthRequestDTO requestDTO);

    int updatePortraitAuthStatus2NeedApprove4R360(String userId);

    /**
     * 查询本人照片
     * @param userId
     * @return
     */
    public String searchBestLiveImage(String userId);
}
